package com.yqg.protection.mapper;

import com.yqg.protection.entity.EquipmentUnit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxf
 * @since 2024-09-11
 */
@Mapper
public interface EquipmentUnitMapper extends BaseMapper<EquipmentUnit> {

    List<EquipmentUnit> findPage(Integer pageNum, Integer pageSize, Integer level, Long organizationId, String clientName, String equipmentId, String equipmentName, String name, String model, String address, Integer systemId, Long typeId, String isAllClient, List<Long> clientIds);

    Long findPageCount(Integer level, Long organizationId, String clientName, String equipmentId, String equipmentName, String name, String model, String address, Integer systemId, Long typeId, String isAllClient, List<Long> clientIds);

    List<EquipmentUnit> exportData(Integer level, Long organizationId, String clientName, String equipmentId, String equipmentName, String name, String model, String address, Integer systemId, Long typeId, String isAllClient, List<Long> clientIds);
}
